﻿<UserControl x:Class="CustomChromeLibrary.CaptionButtons"
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
             xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
			 xmlns:ccl="clr-namespace:CustomChromeLibrary"
			 xmlns:shell="clr-namespace:Microsoft.Windows.Shell;assembly=Microsoft.Windows.Shell"
             mc:Ignorable="d" 
             >
	<UserControl.Resources>
		<ResourceDictionary>
			<ResourceDictionary.MergedDictionaries>
				<ResourceDictionary Source="Themes\Standard.xaml"/>
			</ResourceDictionary.MergedDictionaries>
		</ResourceDictionary>
	</UserControl.Resources>
	
	<StackPanel Orientation="Horizontal" HorizontalAlignment="Right" VerticalAlignment="Top" Margin="{Binding Path=CaptionButtonMargin}">
		<ccl:MinimizeButton Style="{StaticResource StandardMinMaxStyle}"/>
		<ccl:MaximizeButton Style="{StaticResource StandardMinMaxStyle}"/>
		<ccl:CloseButton Style="{StaticResource StandardCloseStyle}"/>
	</StackPanel>
</UserControl>
